﻿#define _CRT_SECURE_NO_WARNINGS 1 // use for depreate the warning error of scanf

#include <stdio.h>

int main1()
{
	printf("Please input a char\n");
	char Achar;
	scanf("%c", &Achar);
	switch (Achar)
	{
	case 'A':
	{
		printf("A");
		break;
	}
	case 'B':
	{
		printf("B");
	}
	default:
	{
		printf("other");
	}
	}

	return 0;
}